home *** CD-ROM | disk | FTP | other *** search
- Short: Linear algebra and number theory. Src.
- Author: pari@ceremab.u-bordeaux.fr
- Uploader: nisse@lysator.liu.se
- Type: misc/math
-
- About PARI (14 dec 1993)
- ----------
-
- PARI is the name of a sophisticated and free math package. GP is a
- calculator that offers all the features of PARI and some more. PARI
- uses *infinite* precision rational numbers and *arbitrary* precision
- floating point numbers.
-
- You can use complex numbers, vectors, matrices, polynomials, rational
- functions and taylor expansions. PARI also handles integers mod n,
- finite fields, algebraic numbers and p-adic numbers. PARI includes
- standard numerical methods and the GP calculator also includes
- hi-resolution plotting.
-
- PARI is written by four professional number theorists, C. Batut,
- D. Bernardi, H. Cohen and M. Olivier. The latter two are Professors of
- Mathematics.
-
- -------
-
- This amiga distribution contains the GP calculator compiled for
- different processors, an emacs mode for running GP, partial
- documentation, and all the amiga specific files I used to compile GP.
- The amiga hi-resolution plotting functions are written by Jerry
- Tunnell, who kindly let me use and distribute them.
-
- If you want full source and documentation, you will have to get the
- source distribution. It *should* be available where you found this
- package, as file pari-1.38.3.tar.gz or something similar (*Please* keep
- this archive and the source archive together. If you like GP, you will
- probably want the documentation too). If you can't find the source
- anywhere else, you can try to ftp to megrez.ceremab.u-bordeaux.fr,
- directory pub/pari/unix. This is the main PARI site.
-
-
- Files
- -----
-
- amiga/ Amiga specific files and sources.
- makefile.68000 Makefiles for different amiga versions.
- makefile.68020
- makefile.68881
- mpAmiga.s Assembler file (gcc syntax) for the 68020 versions.
- Converted from mp.s with the convert68k.el program in
- the elisp directory.
- plotAmiga.c Hi-resolution plotting functions, written by J.B. Tunnell.
- version68k.diff Source diffs to add an Amiga version string.
- versionport.diff
-
- bin/
- gp.68000 GP binaries for different processors.
- gp.68020
- gp.68881
-
- doc/ This directory does not contain the complete documentation,
- usersch3.tex only one file that is needed by pari.el
-
- elisp/
- convert68k.el Elisp program to convert a sun3 style 68k assembler file
- (read mp.s) into something that amiga gcc can understand.
- pari.el An Emacs mode for the GP calculator. Desribed below and
- pari.elc in the file pari.txt
- pari.menu Used by pari.el.
- pari.txt A description of pari-mode
-
- examples/
- EXPLAIN Description of the examples.
- Makefile Note that you cannot compile the C example
- Makesimple without the libpari.a library.
- bench.gp
- clareg.gp
- lucas.gp
- mattrans.c
- rho.gp
- squfof.gp
- tutnf.gp
- tutnfout
-
-
- Starting PARI
- -------------
-
- First, you need to install Markus Wild's ixemul.library, if you don't
- have it already. Version 39.45 is the most recent non-buggy version I
- know of (39.47 seems to be unreliable). This library is available on
- Aminet (for example at ftp.luth.se) and is included in the gcc
- distribution.
-
- GP (file gp.68020 or whichever version you use) takes three command line
- options. The most important is '-s STACKSIZE'. This sets the initial
- size of the internal PARI stack (not to be confused with the task
- stack). The default value is 4 MB which may be more RAM than you have
- available. Try 'gp -s 1000000' or 'gp -s 100000' if GP refuses to
- start. The other two flags are '-p PRIMELIMIT' and '-b BUFFERSIZE'.
- Default values are 500000 and 30000 respectively.
-
- Talking about the task stack, I don't know exactly how large it must
- be. I use a stack of 100000 bytes, and that seems to be enough. To set
- the task stack, use the command 'STACK 100000' command from the shell,
- not the -s option to GP.
-
- At the pari command prompt (default '?'), \q or CTRL-\ exits GP. You
- can type '?' to get some on-line help. Note that running GP inside
- emacs gives you better online help.
-
- The GP command interface is quite straight forward if you are used to
- MATLAB or similar systems. Note that with GP both vectors and matrices
- are typed with with square brackets '[' ']', with comma ',' separating
- elements on the same row and semicolon ';' separating rows. For
- example, a 2-2 matrix is typed '[1,2 ; 3,4]'.
-
- The emacs mode.
- ---------------
- To use this on the amiga, you must make sure that you have mounted the
- FIFO: device, and that the SHELL environment variable is set to some
- unix-style shell. I use the shell distributed with gcc, a port of
- pdksh (file name gcc/bin/sh). The shell distributed with GNUemacs
- might work too, but I haven't tried it. The emacs mode is described in
- the file elisp/pari.txt. If you don't wan't to edit the pari.el file,
- you should assign PARI: to the directory where you have installed
- PARI.
-
- Known bugs
- ----------
- GP does not respond to CTRL-C when run from the shell. However, if you
- send the CTRL-C signal from another shell window (with the BREAK
- command) or type CTRL-C in GP's emacs buffer, GP is interrupted.
-
- A free() call occasionally failes when using the 68000 or 68020
- versions of GP. I have not had this problem with the 68881 version.
-
- I'm tempted to blame both these problems on the ixemul.library, but
- I'm not sure what happens.
-
- For those who are curious about the differences between the three
- versions gp.68000, gp.68020 and gp.68881:
-
- * The first two are compiled with gcc -msoftfloat instead of gcc
- -m68881. If a 68881 processor is present, all three version makes use
- of it. The performance difference between the gp.68020 and the 68881
- version should be rather small on any machine that can run both. I
- included the 68881 because it seemes more reliable.
-
- * In the 68020 and 68881 versions, some low level functions are
- written in 68020 assembler, while the 68000 version is written
- entirely in C and is compiled with gcc -m68000 to make sure that it
- contains only 68000 instructions.
-
- -------
- Enjoy GP!
-
- Feel free to send me comments and questions (and even bug reports).
- Niels Möller
- Ställdalsvägen 11
- 122 43 Enskede
- SWEDEN
- email: nisse@lysator.liu.se
-
- For questions and bug reports not specific to the amiga version, you
- can also write to the authors:
- pari@ceremab.u-bordeaux.fr
-
-
- ============================= Archive contents =============================
-
- Original Packed Ratio Date Time Name
- -------- ------- ----- --------- -------- -------------
- 0 0 0.0% 03-Dec-93 12:21:00 +
- 439 197 55.1% 04-Jul-93 13:15:02 +Makefile
- 11937 4883 59.0% 02-Nov-93 07:22:28 +appa.tex
- 683 397 41.8% 07-Feb-93 04:23:50 +appb.tex
- 2090 1028 50.8% 07-Feb-93 04:23:50 +appc.tex
- 2155 997 53.7% 07-Feb-93 04:23:50 +appd.tex
- 353 194 45.0% 03-Dec-93 12:20:46 +titlepage.tex
- 109788 41647 62.0% 03-Dec-93 12:18:36 +tutorial.tex
- 4307 1585 63.1% 03-Dec-93 12:21:00 +users.tex
- 17664 7135 59.6% 07-Aug-93 17:56:46 +usersch1.tex
- 24576 9193 62.5% 24-Oct-93 19:02:06 +usersch2.tex
- 186465 56863 69.5% 25-Nov-93 17:43:22 +usersch3.tex
- 57901 21358 63.1% 05-Nov-93 11:49:34 +usersch4.tex
- 31799 8153 74.3% 07-Feb-93 04:23:54 +usersch5.tex
- 0 0 0.0% 03-Dec-93 12:20:06 +
- 3319 1602 51.7% 01-Nov-93 18:29:14 +EXPLAIN
- 182 136 25.2% 04-Nov-93 03:53:16 +Makefile
- 151 129 14.5% 05-Nov-93 11:52:34 +Makesimple
- 100 84 16.0% 05-Aug-93 12:33:36 +bench.gp
- 2169 1108 48.9% 01-Nov-93 18:30:14 +clareg.gp
- 52 52 0.0% 05-Aug-93 12:33:16 +lucas.gp
- 1483 805 45.7% 02-May-93 17:06:40 +mattrans.c
- 260 149 42.6% 05-Aug-93 12:36:46 +rho.gp
- 709 394 44.4% 07-Feb-93 04:24:20 +squfof.gp
- 1745 856 50.9% 03-Dec-93 12:16:48 +tutnf.gp
- 7956 3049 61.6% 03-Dec-93 12:19:08 +tutnfout
- 0 0 0.0% 03-Dec-93 12:22:56 +
- 1186 668 43.6% 01-Nov-93 18:44:26 +Buglist
- 5345 2399 55.1% 28-Nov-93 13:11:10 +Changes
- 47459 19307 59.3% 18-Jul-93 14:24:34 +Changes1.31-1.35
- 41438 15641 62.2% 18-Sep-93 13:20:16 +Changes1.35-1.38
- 13637 4400 67.7% 03-Dec-93 12:24:14 +FILES
- 11069 4646 58.0% 01-Nov-93 19:27:10 +INSTALL
- 8208 2625 68.0% 25-Nov-93 16:28:46 +Makemakefile
- 10749 4518 57.9% 18-Jul-93 14:24:34 +Newin1.37
- 7479 3154 57.8% 06-Sep-93 18:00:34 +Newin1.38
- 3265 1495 54.2% 28-Nov-93 18:04:40 +Newin1.39
- 3086 1616 47.6% 01-Nov-93 18:48:50 +README
- 534 319 40.2% 01-Nov-93 18:45:16 +TODO
- 50860 10432 79.4% 20-Nov-93 10:35:28 +alglin1.c
- 36625 8149 77.7% 20-Nov-93 07:30:16 +alglin2.c
- 48731 11140 77.1% 25-Nov-93 17:34:02 +anal.c
- 49560 12108 75.5% 26-Nov-93 19:01:52 +arith1.c
- 35536 8012 77.4% 11-Nov-93 05:53:04 +arith2.c
- 51522 12575 75.5% 26-Nov-93 18:56:00 +base1.c
- 70244 17536 75.0% 02-Dec-93 08:02:22 +base2.c
- 70962 14319 79.8% 12-Nov-93 10:33:50 +bibli1.c
- 51129 10511 79.4% 25-Aug-93 09:27:54 +bibli2.c
- 50995 11862 76.7% 27-Nov-93 05:30:18 +buch1.c
- 49167 13191 73.1% 02-Dec-93 08:03:24 +buch2.c
- 1001 225 77.5% 25-Nov-93 17:45:10 +dummy.c
- 274 122 55.4% 02-Dec-93 11:34:50 +dummybuch.c
- 64183 18663 70.9% 26-Nov-93 19:05:36 +elliptic.c
- 5573 2011 63.9% 04-Aug-93 16:53:26 +erreurs.h
- 20239 5206 74.2% 26-Nov-93 18:07:18 +errmessages.c
- 39677 8067 79.6% 03-Dec-93 12:21:26 +es.c
- 48191 9221 80.8% 30-Nov-93 18:35:06 +gen1.c
- 56205 10648 81.0% 02-Dec-93 11:40:04 +gen2.c
- 54397 10813 80.1% 01-Dec-93 07:48:38 +gen3.c
- 5040 974 80.6% 25-Aug-93 09:30:44 +gen68k.h
- 1467 372 74.6% 28-Nov-93 12:46:50 +gen68kplus.h
- 37638 9307 75.2% 30-Nov-93 19:21:58 +gencom.h
- 434 143 67.0% 28-Nov-93 12:49:16 +genpari68k.h
- 462 148 67.9% 04-Aug-93 16:53:28 +genpariother.h
- 5144 1061 79.3% 16-Sep-93 06:04:36 +genport.h
- 942 558 40.7% 18-Jul-93 14:24:42 +gp.1
- 16271 4831 70.3% 23-Nov-93 04:10:02 +gp.c
- 18010 5279 70.6% 23-Nov-93 04:10:34 +gpreadline.c
- 35879 11255 68.6% 25-Nov-93 17:38:30 +helpmessages.c
- 3635 915 74.8% 04-Aug-93 16:53:28 +hppa.s
- 6651 1315 80.2% 15-Nov-93 04:48:42 +i386.c
- 13444 4155 69.0% 04-Nov-93 07:19:10 +init.c
- 163665 35694 78.1% 28-Nov-93 12:58:06 +mp.ami
- 38226 9454 75.2% 01-Dec-93 09:16:30 +mp.c
- 124388 23306 81.2% 28-Nov-93 12:54:50 +mp.news
- 249494 39653 84.1% 28-Nov-93 12:58:24 +mp.s
- 2406 591 75.4% 25-Aug-93 09:33:40 +mpansi.h
- 29627 7871 73.4% 26-Aug-93 06:58:56 +mpin.c
- 9557 2159 77.4% 26-Aug-93 06:59:46 +mpin.h
- 25732 7841 69.5% 18-Jul-93 14:24:48 +pari.el
- 20582 7580 63.1% 18-Jul-93 14:24:48 +pari.el-changes
- 16604 6282 62.1% 18-Jul-93 14:24:50 +pari.elc
- 3710 1621 56.3% 06-Nov-93 11:46:46 +pari.menu
- 9737 3701 61.9% 18-Jul-93 14:24:50 +pari.txt
- 16210 3345 79.3% 27-Nov-93 05:18:24 +plotX.c
- 274 122 55.4% 25-Aug-93 09:34:22 +plotnull.c
- 12724 3020 76.2% 04-Aug-93 16:53:28 +plotsun.c
- 72457 16604 77.0% 21-Nov-93 17:44:36 +polarit1.c
- 42898 10726 74.9% 29-Oct-93 16:40:34 +polarit2.c
- 9975 1898 80.9% 04-Aug-93 16:53:28 +sparcv7.s
- 7253 1890 73.9% 18-Jul-93 14:24:52 +sparcv8.s
- 2837 655 76.9% 24-Jul-93 14:05:16 +sparcv8micro.s
- 7253 1890 73.9% 18-Jul-93 14:24:52 +sparcv8super.s
- 10847 4607 57.5% 25-Nov-93 17:46:58 +testin
- 59723 22241 62.7% 02-Dec-93 08:30:50 +testout
- 739 285 61.4% 18-Jul-93 14:24:52 +testplotin
- 34157 7665 77.5% 10-Nov-93 16:52:02 +trans1.c
- 44775 7194 83.9% 26-Aug-93 07:02:42 +trans2.c
- 32671 8059 75.3% 23-Nov-93 04:27:06 +trans3.c
- 163 116 28.8% 15-Nov-93 04:48:42 +version386.c
- 5058 1828 63.8% 24-Oct-93 19:07:16 +version68k.c
- 328 173 47.2% 24-Oct-93 19:07:02 +versionhp.c
- 3942 1149 70.8% 24-Oct-93 19:06:52 +versionport.c
- 332 178 46.3% 24-Oct-93 19:06:36 +versionsparcv7.c
- 332 177 46.6% 24-Oct-93 19:06:16 +versionsparcv8.c
- -------- ------- ----- --------- --------
- 2680502 697481 73.9% 08-Jun-95 15:41:32 105 files
-